package com.yanqu.road.entity.activity.horserun.config;


import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.enums.activity.horserun.eHorseRunAttrEnum;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@FieldTypeAnnotation(tableName = "t_s_activity_horse_boss",desc = "小马快跑boss配置")
public class HorseRunBossConfig {
    @FieldTypeAnnotation(desc = "活动id",select = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "bossId")
    private int id;
    @FieldTypeAnnotation(desc = "精力属性")
    private int energy;
    @FieldTypeAnnotation(desc = "技巧属性")
    private int artful;
    @FieldTypeAnnotation(desc = "抗性属性")
    private int resistance;
    @FieldTypeAnnotation(desc = "经验值")
    private int exp;
    @FieldTypeAnnotation(desc = "普通波动")
    private List<Integer> normalLevel;
    @FieldTypeAnnotation(desc = "中等波动")
    private List<Integer> midLevel;
    @FieldTypeAnnotation(desc = "高等波动")
    private List<Integer> highLevel;



    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getEnergy() {
        return energy;
    }

    public void setEnergy(int energy) {
        this.energy = energy;
    }

    public int getArtful() {
        return artful;
    }

    public void setArtful(int artful) {
        this.artful = artful;
    }

    public int getResistance() {
        return resistance;
    }

    public void setResistance(int resistance) {
        this.resistance = resistance;
    }

    public int getExp() {
        return exp;
    }

    public void setExp(int exp) {
        this.exp = exp;
    }

    public List<Integer> getNormalLevel() {
        return normalLevel;
    }

    public void setNormalLevel(List<Integer> normalLevel) {
        this.normalLevel = normalLevel;
    }

    public List<Integer> getMidLevel() {
        return midLevel;
    }

    public void setMidLevel(List<Integer> midLevel) {
        this.midLevel = midLevel;
    }

    public List<Integer> getHighLevel() {
        return highLevel;
    }

    public void setHighLevel(List<Integer> highLevel) {
        this.highLevel = highLevel;
    }

    public Map<Integer,Integer> getAttrMap (){
        Map<Integer,Integer> map = new HashMap<>();
        map.put(eHorseRunAttrEnum.energy.getValue(),energy);
        map.put(eHorseRunAttrEnum.artful.getValue(),artful);
        map.put(eHorseRunAttrEnum.resistance.getValue(),resistance);
        return map;
    }
}
